home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19980424-19980901
/
000187_news@newsmaster….columbia.edu _Wed Jun 10 10:23:09 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-08-31
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA00229
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 10 Jun 1998 10:23:08 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA12065
for kermit.misc@watsun; Wed, 10 Jun 1998 10:23:08 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Scripts: INPUT timed out
Date: 10 Jun 1998 14:23:06 GMT
Organization: Columbia University
Lines: 37
Message-ID: <6lm4sa$p24$1@apakabar.cc.columbia.edu>
References: <357E3AF1.E299BFB3@eurospill.no>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8859
In article <357E3AF1.E299BFB3@eurospill.no>,
Morten Knudsen <morten@eurospill.no> wrote:
: I'm just starting to learn kermit script programming. My problem is
: that my input commands are all timing out. Also if I type interactivly
:
: output AT\13
: input 10 OK
:
: the input command fails. This .kermrc
:
: set line /dev/modem
: set speed 19200
: set modem usrobotics
: set dial prefix 0
: set dial method tone
: set input timeout-action quit
: output AT\13
: input 3 OK
: output AT\13
: input 3 OK
:
: fails on the second input line. Any hints?
:
Most likely, it is behaving as it should -- i.e. not seeing the second
"OK" within 3 seconds. I agree you *should* see it within 3 seconds, but
if the INPUT command times out, it means the expected text did not arrive
within the given interval.
Another possibility is confusion with the communications port driver. I
notice you are using "/dev/modem", which probably means Linux? And /dev/modem
is what? /dev/cua0? /dev/ttyS0? The different drivers behave differently.
Unfortunately, this started happening (or was discovered) after C-Kermit 6.0
was released. In that case, you'll have better luck with C-Kermit 6.1:
http://www.columbia.edu/kermit/ck61.html
- Frank